package org.example.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther:Liu
 * @Testname:controller
 * @Date:2025/7/30 14:34
 */
@Slf4j
@Controller
@RequestMapping("/first")
public class firstcontroller {

    @RequestMapping("/a")
    public String a(){
       log.info("a方法执行了");
       return "a";
    }

    @RequestMapping("/b")
    public String b(){
        log.info("b方法执行了");
        return "b";
    }
}
